#include <iostream>

using namespace std;

inline void print(const int a[], int size) {
	for (int i = 0; i != size; i++) {
		cout << a[i] << " ";
	}
}

int main() {
	int a[] = {1, 2, 3};
	print(a, sizeof(a) / sizeof(*a));
}